package com.easylinkin.linkappapi.hcmy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.hcmy.entity.LivestockFarmers;
import com.easylinkin.linkappapi.hcmy.entity.LivestockFarming;
import com.easylinkin.linkappapi.hcmy.entity.LivestockStatistic;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/10/15 17:41
 */
public interface LivestockService {

    /* 面源畜禽养殖  */

    /**
     * 新增畜禽养殖
     * @param livestockFarming
     * @return
     */
    String saveLivestockFarmingData(LivestockFarming livestockFarming);

    /**
     * 修改畜禽养殖
     * @param livestockFarming
     * @return
     */
    String updateLivestockFarmingData(LivestockFarming livestockFarming);

    /**
     * 删除畜禽养殖（可批量）
     * @param livestockFarming
     * @return
     */
    String deleteLivestockFarmingData(LivestockFarming livestockFarming);

    /**
     * 畜禽养殖分页列表
     * @param page
     * @param livestockFarming
     * @return
     */
    IPage<LivestockFarming> getLivestockFarmingPage(Page page, LivestockFarming livestockFarming);




    /* 面源畜禽养殖户  */

    /**
     * 新增畜禽养殖户
     * @param livestockFarmers
     * @return
     */
    String saveLivestockFarmersData(LivestockFarmers livestockFarmers);

    /**
     * 修改畜禽养殖户
     * @param livestockFarmers
     * @return
     */
    String updateLivestockFarmersData(LivestockFarmers livestockFarmers);

    /**
     * 删除畜禽养殖户（可批量）
     * @param livestockFarmers
     * @return
     */
    String deleteLivestockFarmersData(LivestockFarmers livestockFarmers);

    /**
     * 畜禽养殖分页列表
     * @param page
     * @param livestockFarmers
     * @return
     */
    IPage<LivestockFarmers> getLivestockFarmersPage(Page page, LivestockFarmers livestockFarmers);

    /**
     * 畜禽养殖污染物排放分页统计
     * @param page
     * @param livestockFarming
     * @return
     */
    IPage<LivestockStatistic> getLivestockFarmingPollutantDischargePage(Page page, LivestockFarming livestockFarming);

    /**
     * 猪粪污水年产分页统计
     * @param page
     * @param livestockFarming
     * @return
     */
    IPage<LivestockStatistic> getPigManureSewagePage(Page page, LivestockFarming livestockFarming);


}
